package com.ruoyi.client.pojo.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 收货地址VO
 */
@Data
public class AddressVo {

    @ApiModelProperty("地址id")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty(value = "收件人名称", position = 1, required = true)
    private String name;

    @ApiModelProperty(value = "收件人联系方式", position = 2, required = true)
    private String tel;

    @ApiModelProperty(value = "是否默认地址 0-否 1-是", position = 3)
    private Integer isDefault;

    @ApiModelProperty(value = "省", position = 4)
    private String province;

    @ApiModelProperty(value = "市", position = 5)
    private String city;

    @ApiModelProperty(value = "区/县", position = 6)
    private String county;

    @ApiModelProperty(value = "详细地址", position = 7)
    private String addressDetail;

}